/*
 * @Descripttion: 
 * @version: 
 * @Author: 玄绮 <shijiahansi@qq.com>
 * @Date: 2021-10-28 20:46:15
 * @LastEditTime: 2021-10-30 17:16:41
 * @LastEditors: VS Code
 */

#include "51_type.h"
//定义独立按键按下的键值
typedef enum
{
    KEY_UNPRESS,
    KEY1_PRESS,
    KEY2_PRESS,
    KEY3_PRESS,
    KEY4_PRESS
} KeyCode;

uint8 key_scan(uint8 mode);
uint8 key_matrix_ranks_scan(void);
uint8 key_matrix_flip_scan(void);